x86/EFI: adjust EFI_MEMORY_WP handling for spec version 2.5
authorJan Beulich <jbeulich@suse.com>
Wed, 10 Jun 2015 10:05:21 +0000 (12:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 10 Jun 2015 10:05:21 +0000 (12:05 +0200)
commit860313f0411d2dcc6b2fd78bfb834b39d05373a6
treeecaab7bf6086ce3419ca75d615bf1bfbcc5e77dc
parent74cdad5dae72c78af4f6b343f38fd55e6a526ab1
x86/EFI: adjust EFI_MEMORY_WP handling for spec version 2.5

That flag now means cachability rather than protection, and a new flag
EFI_MEMORY_RO got added in its place.

Along with EFI_MEMORY_RO also add the two other new EFI_MEMORY_*
definitions, even if we don't need them right away.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/common/efi/boot.c
xen/include/efi/efidef.h